//
//  CustomNavBar.h
//  SlimmingWar
//
//  Created by kai on 12-3-17.
//  Copyright (c) 2012年 110. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FMDatabase.h"

@interface CustomNavBar : UINavigationBar
{
//    UIImageView *navigationBarBackgroundImage;
//    CGFloat backButtonCapWidth;
//    IBOutlet UINavigationController* navigationController;
    
    FMDatabase *database;
    UILabel *goldLab;
    UILabel *lvLab;
    UILabel *allExLab;
    
    UIImageView *selectGoldImg;
    
}
@property (nonatomic, retain) UIImageView *selectGoldImg;
@property (nonatomic, retain) FMDatabase *database;
@property (nonatomic, retain) UILabel *goldLab;
@property (nonatomic, retain) UILabel *lvLab;
@property (nonatomic, retain) UILabel *allExLab;

//@property (nonatomic, retain) UIImageView *navigationBarBackgroundImage;
//@property (nonatomic, retain) IBOutlet UINavigationController* navigationController;


- (UIImageView *) selectImg;
//-(void) setBackgroundWith:(UIImage*)backgroundImage;
//-(void) clearBackground;
//-(UIButton*) backButtonWith:(UIImage*)backButtonImage highlight:(UIImage*)backButtonHighlightImage leftCapWidth:(CGFloat)capWidth;
//-(void) setText:(NSString*)text onBackButton:(UIButton*)backButton;

@end
